package cn.cs.service;

import cn.cs.common.Page;
import cn.cs.pojo.AgentSettlement;

import java.util.List;
import java.util.Map;

public interface AgentSettlementService {

    public AgentSettlement getAgentSettlementById(String id) throws Exception;

    public List<AgentSettlement> getAgentSettlementListByMap(Map<String, Object> param) throws Exception;

    public Integer getAgentSettlementCountByMap(Map<String, Object> param) throws Exception;

    public Integer addAgentSettlement(AgentSettlement agentSettlement) throws Exception;

    public Integer modifyAgentSettlement(AgentSettlement agentSettlement) throws Exception;

    public Integer deleteAgentSettlementById(String id) throws Exception;

    public Page<AgentSettlement> queryAgentSettlementPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
